<template>
    <vue-progress-bar></vue-progress-bar>
    <a-config-provider  :theme="$main.themeConfig"  :locale="locale">
        <router-view></router-view>
    </a-config-provider>
</template>
<script lang="ts" setup>
    import zhCN from "ant-design-vue/es/locale/zh_CN";
    import mainStore from "./stores/main";
    import dayjs from "dayjs";
    import "dayjs/locale/zh-cn";
    const $main = mainStore()
    dayjs.locale("zh-cn");
   
    const locale = ref(zhCN);
</script>
